<?php
class SGObjetoConexaoDebug implements SGObjetoConexao {
	
	public function __construct(){}

	public function execute($sql){
		echo $sql.'<br/><br/>';
	}

	public function queryOne($sql){
		echo $sql.'<br/><br/>';
	}

	public function nextid($nomeTabela){
		return 'NEXTID_DEBUG';
	}

	public function isValid(){
		return true;
	}
	
	public function fetchRow($resource){
		return (object) array();
	}
	
	public function numRows($resource){
		return 1;
	}

	public function free($resource){}

	public function beginTransaction(){}
	
	public function commit(){}
	
	public function rollback(){}
	
}
?>